package com.just.spring4.ch1.di;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by han.yuan
 * 配置类
 */
@Configuration  //声明当前类是一个配置类
@ComponentScan("com.just.spring4.ch1.di") //自动扫描包下所有的类，并把有相关注解的注册为bean
public class DiConfig {
}
